<template>
  <div class="caizhong_box">
    <ul class="caizhong_ul">
      <li class="caizhong_li">
        <span class="th_span">玩法</span>
        <span class="th_span">单注最低</span>
        <span class="th_span">单注最高</span>
        <span class="th_span">单项最高</span>
      </li>
      <li class="caizhong_li" v-for="(item,index) in list" :key="index">
        <span class="th_span">{{item.play}}</span>
        <span class="th_span">{{item.single_low}}</span>
        <span class="th_span">{{item.single_high}}</span>
        <span class="th_span">{{item.odd_high}}</span>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  data() {
    return {
      list: []
    };
  },
  // 渲染之前
  created() {
    this.http
      .get("/api/lottery/limit")
      .then(res => {
        if (res.status_code == 200) {
          this.list = res.data;
        } else {
          this.$toast(res.message);
        }
      });
  },
  methods: {}
};
</script>

<style>
@import url("../../assets/css/ttcp/chongzhi.css");
.caizhong_box {
  background-color: #f2f2f2;
  height: 100vh;
}
</style>